<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0" />
	<title>主页</title>
	<link rel="stylesheet" href="../../static/weixin/css/weui.min.css" th:href="@{/weixin/css/weui.min.css}" />
	<link rel="stylesheet" href="../../static/weixin/css/common.css" th:href="@{/weixin/css/common.css}" />
	<script type="text/javascript" src="../../static/weixin/js/zepto.min.js" th:src="@{/weixin/js/zepto.min.js}"></script>
	<script type="text/javascript" src="../../static/weixin/js/fastclick.min.js" th:src="@{/weixin/js/fastclick.min.js}"></script>
	<script type="text/javascript" src="../../static/assets/js/plugins/raty/jquery.raty.js" th:src="@{/assets/js/plugins/raty/jquery.raty.js}"></script>
</head>

<body>
 <div class="container" id="container">
	<!-- Main content -->
	<div class="page">
	<input type="hidden" id="path" value="../../static/assets/js/plugins/raty/images" th:value="@{/assets/js/plugins/raty/images}" />
	<form th:action="@{/weixin/customerFeedBack}" method="post" id="form">
		<input type="hidden" name="reservationId" th:value="${id}"/>
		<div class="weui-cells__title">客户评价</div>
		<div class="weui-cells weui_cells_form">
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<p>整体评价</p>
				</div>
				<div class="weui-cell__ft raty" id="score"></div>
			</div>
		</div>
		<div class="weui-cells__title">具体评价</div>
		<div class="weui-cells weui_cells_form">
			<div class="weui-cell">
				<div class="weui-cell__bd weui-cell_primary">
					<p>衣着评分</p>
				</div>
				<div class="weui-cell__ft raty"  id="clothing"></div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__bd weui-cell_primary">
					<p>沟通评分</p>
				</div>
				<div class="weui-cell__ft raty" id="communication"></div>
			</div>
			<div class="weui-cell no_access">
				<div class="weui-cell__bd weui-cell_primary">
					<p>讲解评分</p>
				</div>
				<div class="weui-cell__ft raty" id="introduction"></div>
			</div>
			<div class="weui-cell no_access">
				<div class="weui-cell__bd weui-cell_primary">
					<p>技术评分</p>
				</div>
				<div class="weui-cell__ft raty" id="professional"></div>
			</div>
		</div>
		<div class="weui-cells__title">建议意见</div>
		<div class="weui-cells weui-cells_form">
			<div class="weui-cell">
	            <div class="weui-cell__bd weui-cell_primary">
	                <textarea class="weui-textarea" name="comment" placeholder="请简要描述你的问题和意见" rows="3"></textarea>
	            </div>
        	</div>
		</div>
		<div style="padding:15px">
            <input type="submit" class="weui-btn weui-btn_primary" />
        </div>
    </form>
    </div>
</div>
<script type="text/javascript">
$(function(){
	$(".raty").raty({"scoreName":function(){return $(this).attr("id");}, "path":$("#path").val()});
	FastClick.attach(document.body);
})
</script>
</body>
</html>
